
let state = {
    keyword: ''
};

let mutations = {
    KEYWORD(state, keyword) {
        state.keyword = keyword;
    }
};
let actions = {
    actionKeyword({commit},keyword){
        commit('KEYWORD',keyword);
    }
};
let getters = {
    getKeyword(state){
        return state.keyword;
    }
};

export default {
    state,
    mutations,
    actions,
    getters
}